package cn.yunyichina.provider.sys.entity;

import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2018-01-26 10:56:55
*/
public class Resource {

     /**/
     private String id;
     public void setId(String id) {
          this.id = id;
     }
     public String getId() {
          return id;
     }

     /*资源名称*/
     private String resourceName;
     public void setResourceName(String resourceName) {
          this.resourceName = resourceName;
     }
     public String getResourceName() {
          return resourceName;
     }

     /*资源编码*/
     private String resourceCode;
     public void setResourceCode(String resourceCode) {
          this.resourceCode = resourceCode;
     }
     public String getResourceCode() {
          return resourceCode;
     }

     /*资源图标*/
     private String icon;
     public void setIcon(String icon) {
          this.icon = icon;
     }
     public String getIcon() {
          return icon;
     }

     /*资源URL*/
     private String webUrl;
     public void setWebUrl(String webUrl) {
          this.webUrl = webUrl;
     }
     public String getWebUrl() {
          return webUrl;
     }

     /*资源权限*/
     private String auth;
     public void setAuth(String auth) {
          this.auth = auth;
     }
     public String getAuth() {
          return auth;
     }

     /*父资源ID*/
     private String parentId;
     public void setParentId(String parentId) {
          this.parentId = parentId;
     }
     public String getParentId() {
          return parentId;
     }

     /*个人简介*/
     private String description;
     public void setDescription(String description) {
          this.description = description;
     }
     public String getDescription() {
          return description;
     }

     /*资源类型 1：菜单 2：医院*/
     private Short resourceType;
     public void setResourceType(Short resourceType) {
          this.resourceType = resourceType;
     }
     public Short getResourceType() {
          return resourceType;
     }

     /*平台类型              1-云医管理平台资源              2-医院管理平台资源              3-开放性管理平台资源*/
     private Short platformType;
     public void setPlatformType(Short platformType) {
          this.platformType = platformType;
     }
     public Short getPlatformType() {
          return platformType;
     }

     /*排序*/
     private Integer showOrders;
     public void setShowOrders(Integer showOrders) {
          this.showOrders = showOrders;
     }
     public Integer getShowOrders() {
          return showOrders;
     }

     /*是否可用 0：禁用 1：启用*/
     private Short enableFlag;
     public void setEnableFlag(Short enableFlag) {
          this.enableFlag = enableFlag;
     }
     public Short getEnableFlag() {
          return enableFlag;
     }

     /*创建者*/
     private String createdBy;
     public void setCreatedBy(String createdBy) {
          this.createdBy = createdBy;
     }
     public String getCreatedBy() {
          return createdBy;
     }

     /*创建时间*/
     private String createdTime;
     public void setCreatedTime(String createdTime) {
          this.createdTime = createdTime;
     }
     public String getCreatedTime() {
          return createdTime;
     }

     private String beginCreatedTime;
     public void setBeginCreatedTime(String beginCreatedTime) {
          this.beginCreatedTime = beginCreatedTime;
     }
     public String getBeginCreatedTime() {
          return beginCreatedTime;
     }

     private String endCreatedTime;
     public void setEndCreatedTime(String endCreatedTime) {
          this.endCreatedTime = endCreatedTime;
     }
     public String getEndCreatedTime() {
          return endCreatedTime;
     }

     /*更新者*/
     private String updateBy;
     public void setUpdateBy(String updateBy) {
          this.updateBy = updateBy;
     }
     public String getUpdateBy() {
          return updateBy;
     }

     /*更新时间*/
     private String updateTime;
     public void setUpdateTime(String updateTime) {
          this.updateTime = updateTime;
     }
     public String getUpdateTime() {
          return updateTime;
     }

     private String beginUpdateTime;
     public void setBeginUpdateTime(String beginUpdateTime) {
          this.beginUpdateTime = beginUpdateTime;
     }
     public String getBeginUpdateTime() {
          return beginUpdateTime;
     }

     private String endUpdateTime;
     public void setEndUpdateTime(String endUpdateTime) {
          this.endUpdateTime = endUpdateTime;
     }
     public String getEndUpdateTime() {
          return endUpdateTime;
     }

     private List<Resource> children;//子资源

     public List<Resource> getChildren() {
          return children;
     }

     public void setChildren(List<Resource> children) {
          this.children = children;
     }
}